package com.qikux.entity;

import com.qikux.annotation.Column;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder(toBuilder = true)
public class Notice extends Entity{

    /**
     * 通知类型
     */
    private String remark;

    /**
     * 通知内容
     */
    private String content;
    /**
     * 通知用户id
     */
    @Column("user_id")
    private Long userId;

    /**
     * 触发通知的id
     */
    @Column("tag_user_id")
    private Long tagUserId;

    /**
     * 资源id
     */
    @Column("res_id")
    private Long resId;

}
